//
//  MyOrderNumberCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/11.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "MyOrderNumberCell.h"

@interface MyOrderNumberCell ()

@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomMargin;

@end

@implementation MyOrderNumberCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.bottomMargin.constant = 0;
    
    self.leftLabel.font = MYFONT(14);
    
    self.rightLabel.font = MYFONT(14);
    
    self.rightLabel.textColor = darkGray;
    // Initialization code
}


- (void)setModel:(MyOrderSectionModel *)model{
    
    _model = model;
    
    self.leftLabel.text = [NSString stringWithFormat:@"订单号: %@",_model.order_no];
    
    self.rightLabel.text = _model.create_time;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
